package cn.pxs.entity;


//对应 订单头
public class OrdItem {
    private Integer itemid;//唯一id
    private Integer ordid;//订单表id
    private Integer bookid;//书本id
    private Integer num;//购买数量
    private Double price;//单价

    public Integer getItemid() {
        return itemid;
    }

    public void setItemid(Integer itemid) {
        this.itemid = itemid;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getOrdid() {
        return ordid;
    }

    public void setOrdid(Integer ordid) {
        this.ordid = ordid;
    }

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }


    @Override
    public String toString() {
        return "OrdItem{" +
                "itemid=" + itemid +
                ", ordid=" + ordid +
                ", bookid=" + bookid +
                ", num=" + num +
                ", price=" + price +
                '}';
    }
}
